package com.party.core.dao.read.crowdfund;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.crowdfund.ProjectDetailCount;
import com.party.core.model.crowdfund.ProjectDetailCountInput;
import com.party.core.model.crowdfund.ProjectDetailCountOutput;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * @Author: yangshoukun
 * @Date: 2018/6/12 15:08
 */
@Repository
public interface ProjectDetailCountReadDao extends BaseReadDao<ProjectDetailCount> {
    ProjectDetailCountOutput getCountByEvent(ProjectDetailCountInput input);

    ProjectDetailCount findByProjectIdDate(@Param("projectId") String projectId, @Param("createDate") Date createDate);
}
